<?
require_once("lib/php/Singleton.php");

abstract class DataProvider extends Singleton {
	protected $dataInterface_;
	
	protected function __construct($dataInterface) {
		$this->dataInterface_ = $dataInterface;
	}
	
	abstract public function create($entity);
	abstract public function read($entity = null, $orderBy = null, $limit = null);
	abstract public function update($entity);
	abstract public function delete($entity);
}
?>
